package com.javaketang.dky.service.impl;

import com.javaketang.dky.entity.EasybuyOrderDetail;
import com.javaketang.dky.mapper.EasybuyOrderDetailMapper;
import com.javaketang.dky.service.EasybuyOrderDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dky
 * @since 2021-07-06
 */
@Service
public class EasybuyOrderDetailServiceImpl extends ServiceImpl<EasybuyOrderDetailMapper, EasybuyOrderDetail> implements EasybuyOrderDetailService {


    @Resource
    private EasybuyOrderDetailMapper detailMapper;

    @Override
    public List<EasybuyOrderDetail> findOrder(Integer userId) {
        return detailMapper.findOrder(userId);
    }
}
